package com.itheima.danli2;

public class Test {
    public static void main(String[] args) {
        Thread t1 = new Thread(()->{
            Singlan instance = Singlan.getInstance();
            System.out.println(instance);
        });
        t1.start();
        Thread t2 = new Thread(()->{
            Singlan instance1 = Singlan.getInstance();
            System.out.println(instance1);
        });
        t2.start();

    }
}
